package com.cdtye.shuoh.domain.device.vo;

import com.cdtye.common.mybatiscore.base.BaseVo;
import com.cdtye.shuoh.domain.device.entity.DeviceLocation;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

@Data
public class DeviceVo extends BaseVo {
    @ApiModelProperty(value = "客户端标识")
    private String clientId;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "应用ID")
    private String appId;

    @ApiModelProperty(value = "认证方式")
    private String authMode;

    @ApiModelProperty(value = "设备标识")
    private String deviceIdentification;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "连接实例")
    private String connector;

    @ApiModelProperty(value = "设备描述")
    private String deviceDescription;

    @ApiModelProperty(value = "设备状态： 启用 || 禁用")
    private String deviceStatus;

    @ApiModelProperty(value = "连接状态 : 在线：ONLINE || 离线：OFFLINE || 未连接：INIT")
    private String connectStatus;

    @ApiModelProperty(value = "是否遗言")
    private String isWill;

    @ApiModelProperty(value = "设备标签")
    private String deviceTags;

    @ApiModelProperty(value = "产品标识")
    private String productIdentification;

    @ApiModelProperty(value = "产品协议类型 ：mqtt || coap || modbus || http")
    private String protocolType;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "port")
    private String port;

    @ApiModelProperty(value = "地址信息")
    private DeviceLocation deviceLocation;
}
